package object;

public class ObjectDemo {
    public static void main(String[] args) {
        /*Point o1 = new Point(100,200);
        System.out.println(o1);*/

        Point p1 = new Point(120,200);
        Point p2 = new Point(120,200);
        System.out.println(p1==p2);
        System.out.println(p1.equals(p2));
    }


}
